﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<script type="text/javascript">
    function openNew(roleid,type){
        window.location.href='MCSQList.aspx?ROLEID='+roleid+'&type='+escape(type);
    }
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font id="Font2" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left;
                color: black; text-indent: 1em;" runat="server">统计页面 </font>
        </td>
    </tr>
</table>
<table class="window_tab_list" cellpadding="0" cellspacing="0" border="0" width="100%"
    align="center" style="margin-top: 3px">
    <tr>
        <td rowspan="2" align="center">
            区属
        </td>
        <td colspan="4" align="center">
            持有密钥数量
        </td>
    </tr>
    <tr>
        <td align="center">
            监管用户
        </td>
        <td align="center">
            管理用户
        </td>
        <td align="center">
            项目用户
        </td>
        <td align="center">
            合计
        </td>
    </tr>
    <CBW:MPRepeater ID="MPRepeaterList" runat="server">
        <ItemTemplate>
            <tr>
                <td align="center">
                    <%#Eval("rolename")%>
                </td>
                <td align="center">
                    <a href="javascript:void(0);" onclick="openNew('<%#Eval("ID") %>','监管用户')"><%#Eval("监管用户")%></a>
                </td>
                <td align="center">
                    <a href="javascript:void(0);" onclick="openNew('<%#Eval("ID") %>','管理用户')"><%#Eval("管理用户")%></a>
                </td>
                <td align="center">
                    <a href="javascript:void(0);" onclick="openNew('<%#Eval("ID") %>','项目用户')"><%#Eval("项目用户")%></a>
                </td>
                <td align="center" style="color:Red;">
                <a href="javascript:void(0);" onclick="openNew('<%#Eval("ID") %>','全部')"> <%# Convert.ToInt32(Eval("监管用户").ToString()) + Convert.ToInt32(Eval("管理用户").ToString()) + Convert.ToInt32(Eval("项目用户").ToString())%></a>
                   
                </td>
            </tr>
        </ItemTemplate>
    </CBW:MPRepeater>
</table>
